package com.niiwoo.civet.user.dto.request;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lujing on 2017/12/2.
 */
@Getter
@Setter
public class TalkRecordRequestDTO implements Serializable {
    private static final long serialVersionUID = -5909876457495302042L;
    private String userId;     //用户id
    private String deviceId;  //设备id
    private List<TalkRecord> callRecordsList;


    @Setter
    @Getter
    public static class TalkRecord implements Serializable{
        private static final long serialVersionUID = -1182346151411629535L;
        private String mobile;
        private Long time;         //毫秒时间戳
        private int duration;       //秒
        private int sendOrReceive;  //1-主叫 2-被叫
    }
}
